package com.ruoyi.teaching.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.student.domain.BblClass;
import com.ruoyi.student.domain.Student;
import com.ruoyi.teacher.domain.Teacher;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老师跟踪
对象 bbl_teacher_stalke
 * lbj
 * @author ruoyi
 * @date 2023-05-18
 */
public class TeacherStalke extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 班级 */
    @Excel(name = "班级")
    private String classes;

    /** 学生 */
    @Excel(name = "学生")
    private String studentsname;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String impartType;

    /** 扣分 */
    @Excel(name = "扣分")
    private String discount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationtime;

    /** 跟踪老师 */
    @Excel(name = "跟踪老师")
    private String teachername;

    /** 跟踪次数 */
    @Excel(name = "跟踪次数")
    private Long stalkeCount = 0L;

    /** classId */
    @Excel(name = "classId")
    private Long classId;

    /** student_id */
    @Excel(name = "student_id")
    private Long studentId;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;
    /** 老师表 */
    private Teacher teacher;

    /** 班级表 */

    private BblClass bblClass;
    /** 学生表 */
    private Student student;

    public BblClass getBblClass() {
        return bblClass;
    }

    public void setBblClass(BblClass bblClass) {
        this.bblClass = bblClass;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClasses(String classes) 
    {
        this.classes = classes;
    }

    public String getClasses() 
    {
        return classes;
    }
    public void setStudentsname(String studentsname) 
    {
        this.studentsname = studentsname;
    }

    public String getStudentsname() 
    {
        return studentsname;
    }
    public void setImpartType(String impartType) 
    {
        this.impartType = impartType;
    }

    public String getImpartType() 
    {
        return impartType;
    }
    public void setDiscount(String discount) 
    {
        this.discount = discount;
    }

    public String getDiscount() 
    {
        return discount;
    }
    public void setCreationtime(Date creationtime) 
    {
        this.creationtime = creationtime;
    }

    public Date getCreationtime() 
    {
        return creationtime;
    }
    public void setTeachername(String teachername) 
    {
        this.teachername = teachername;
    }

    public String getTeachername() 
    {
        return teachername;
    }
    public void setStalkeCount(Long stalkeCount) 
    {
        this.stalkeCount = stalkeCount;
    }

    public Long getStalkeCount() 
    {
        return stalkeCount;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classes", getClasses())
            .append("studentsname", getStudentsname())
            .append("impartType", getImpartType())
            .append("discount", getDiscount())
            .append("creationtime", getCreationtime())
            .append("teachername", getTeachername())
            .append("stalkeCount", getStalkeCount())
            .append("remark", getRemark())
            .append("classId", getClassId())
            .append("studentId", getStudentId())
            .append("teacherId", getTeacherId())
            .toString();
    }
}
